package com.newenergy.wisehome.data.bean;

import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

/**
 * Created by dell on 2016/11/29.
 */

@DatabaseTable(tableName = "tb_light_serial")
public class LightSerial {
    @DatabaseField(generatedId = true)
    private int id;
    @DatabaseField(columnName = "serial")
    private int serial;

    @DatabaseField(columnName = "type")
    private int type=0;
    public LightSerial() {
    }

    public LightSerial(int serial) {
        this.serial = serial;
    }

    public int getSerial() {
        return serial;
    }

    public void setSerial(int serial) {
        this.serial = serial;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return "LightSerial{" +
                "serial=" + serial +
                ", type=" + type +
                '}';
    }
}
